﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace POSPlus.EZBarTender
{
    public partial class DebugBox : Form
    {
        public DebugBox()
        {
            InitializeComponent();
        }

        public DebugBox(string text)
        {
            InitializeComponent();
            txtMessage.Text = text;
        }

        public static void Show(string text)
        {
            DebugBox box = new DebugBox(text);
            box.Show();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
